// service 服务
var mongoose = require('mongoose');

const serviceSchema = new mongoose.Schema({
    name: String,
    type:String,
    scheduling: [{}],//排期：按时间段
    scope: String,// ( 适用规格：按体重范围等；)
    profiles: String,//  (服务规格：普修，精修等；)
    time: String,// (耗时)
    level: String, //服务员等级 
    price: String,// 价格 
});

mongoose.model("service", serviceSchema, "service");